import Controllers.DrawController;
import Controllers.PlayerController;
import Player.Player;
import Player.PlayerObservable;

public class Test {

	public static void main(String[] args) {	
//		Etape 1
//		Player player = new Player();
//		PlayerController playerController = new PlayerController(player);
//		playerController.go();
		
//		Etape 2
		PlayerObservable player = new PlayerObservable();		
		DrawController drawer = new DrawController();
		
		player.addObserver(drawer.getWindow());
		PlayerController playerController = new PlayerController(player);
		
		drawer.go();
		playerController.go();
	}
}